// Does this browser support try-catch?
var tc = false;
try { tc = true; } catch(f) { }

function get_wiwclan_html(elId,nickName,persName,wiwImg){
	var html    = '<div class="pers_inner">';
	html = html +  '<div class="pers_info"><span>'+persName+'</span></div>';
	html = html +  '<div class="pers_img_bg">';
	html = html +   '<img src="http://fartclan.ucoz.ru/wiwclan/pers_bg.png" style="position:absolute;top:0px;left:0px;width:85px;height:172px;z-index:99;margin:0 auto">';
	html = html +   '<img src="'+wiwImg+'" style="opacity:1;cursor:help;position:absolute;top:2px;left:2px;width:81px;height:168px;z-index:100;" alt="">';
	html = html +  '</div>';
//	html = html +  '<div class="pers_status pers_off">00:26:51</div>';
	html = html +  '<div class="pers_nick">';
	html = html +   '<span><span class="pers_icon"></span><a href="http://dorikan.wiw1.ru/cgi-bin/personviews.cgi?nickname='+nickName+'" target="_blank">'+nickName+'</a></span>';
	html = html +  '</div>';
//	html = html +  '<div class="pers_html"><span style=""></span></div>';
	html = html + '</div>';
	document.getElementById(elId).innerHTML=html;
}